﻿@{
    ViewBag.Title = "Danh sách tour du lịch";
}

@model IEnumerable<G15_Agent.Models.ViewModels.TravelListViewModel>
           
@section PageScripts
{
    <!-- DataTables CSS -->
    <link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css">

    <!-- DataTables -->
    <script type="text/javascript" charset="utf8" src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#tour-table').dataTable();
        });
    </script>
}
<table id="tour-table" class="table table-striped table-condensed">
    <caption></caption>
    <thead>
        <tr>                        
        </tr>
    </thead>
    
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>Thông tin tour</td>
            </tr>
            <tr>
               @* @Html.Partial("TourListItem", item)*@
               <td>
                    @Html.Partial("TourListItem", item)                    
               </td>
            </tr>
        }
    </tbody>
</table>

